//
//  NSString+ATKit.h
//  Postre
//
//  Created by CoderLT on 2017/6/24.
//  Copyright © 2017年 CoderLT. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (ATKit)
- (BOOL)isThisYear;
- (BOOL)isTomorrow;
- (NSString *)smartDisplay;
@end

@interface NSString (ATKit)
/**
 *  字符串转换为时间
 *
 *  dateFormat @“yyyy-MM-dd EEEE HH:mm:ss zzz” ==> @"2114-10-13 星期一 20:13:17 +8:00"
 *
 *  @return 时间
 */
- (NSDate *)dateFromFormat:(NSString *)dateFormat;
- (NSDate *)dateFromISOFormat;

/**
 1526223203 ==> 1526****203
 */
- (NSString *)EncTel;
@end


@interface NSString (URLParams)

- (NSDictionary *)getURLParameters;
@end

@interface UIColor (FDLive)

+ (instancetype)fd_ColorWithString:(NSString *)colorString;
@end
